package com.asideal.project.monitor.service;

import java.util.List;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;

import com.asideal.project.monitor.domain.SysOperLog;

/**
 * 鎿嶄綔鏃ュ織 鏈嶅姟灞�
 * 
 * 
 */
public interface ISysOperLogService
{
    /**
     * 鏂板鎿嶄綔鏃ュ織
     * 
     * @param operLog 鎿嶄綔鏃ュ織瀵硅薄
     */
    public void insertOperlog(SysOperLog operLog);

    /**
     * 鏌ヨ绯荤粺鎿嶄綔鏃ュ織闆嗗悎
     * 
     * @param operLog 鎿嶄綔鏃ュ織瀵硅薄
     * @return 鎿嶄綔鏃ュ織闆嗗悎
     */
    public List<SysOperLog> selectOperLogList(SysOperLog operLog);

    /**
     * 鎵归噺鍒犻櫎绯荤粺鎿嶄綔鏃ュ織
     * 
     * @param operIds 闇�瑕佸垹闄ょ殑鎿嶄綔鏃ュ織ID
     * @return 缁撴灉
     */
    public int deleteOperLogByIds(Long[] operIds);

    /**
     * 鏌ヨ鎿嶄綔鏃ュ織璇︾粏
     * 
     * @param operId 鎿嶄綔ID
     * @return 鎿嶄綔鏃ュ織瀵硅薄
     */
    public SysOperLog selectOperLogById(Long operId);

    /**
     * 娓呯┖鎿嶄綔鏃ュ織
     */
    public void cleanOperLog();
}
